import GlobalColor from "./GlobalColor";
import GlobalSize from "./GlobalSize";
import ScreenUtils from "./ScreenUtils";
import {Image} from "react-native";

module.exports ={
    alignItemsCenter:{
        alignItems:'center'
    },
    alignItemsFlexEnd: {
        alignItems:'flex-end'
    },
    flexDirectionRow:{
        flexDirection:'row'
    },
    flexDirectionColumn:{
        flexDirection:'column'
    },
    justifyContentCenter:{
        justifyContent:'center'
    },
    justifyContentSpaceBetween:{
        justifyContent:'space-between'
    },
    justifyContentFlexEnd:{
        justifyContent:'flex-end'
    },
    positionAbsolute:{
        position:'absolute'
    },
    textAlignCenter:{
        textAlign:'center'
    },


    // 登录 view
    btnViewStyle:{
        width:ScreenUtils.scaleSize(590),
        height:GlobalSize.ScaleSize98,
        marginTop:ScreenUtils.scaleSize(300),
        alignItems:'center',
        backgroundColor:'#ff4114',
        justifyContent:'center',
        borderWidth:ScreenUtils.scaleSize(.5),
        borderColor:'#ff4114',
        borderRadius:ScreenUtils.scaleSize(20),
        marginLeft: ScreenUtils.scaleSize(80),
        marginRight: ScreenUtils.scaleSize(80)
    },
    btnTextStyle:{
        fontSize:GlobalSize.SetSpText28,
        fontFamily:GlobalSize.FontFamilyMedium,
        color:'#fdfdfd'
    },
    logoStyle:{
        width:ScreenUtils.scaleSize(211),
        height:ScreenUtils.scaleSize(211),
        marginTop:ScreenUtils.scaleSize(168),
        alignItems:'center',
        marginLeft: ScreenUtils.scaleSize(271),
        // resizeMode:Image.resizeMode.contain
    },
    inputStyle:{
        padding:0,
        marginLeft:ScreenUtils.scaleSize(20),
        fontSize:GlobalSize.SetSpText30,
        color:GlobalColor.e7e7e7,
        fontFamily:'PingFangSC-Light',
    },
    itemViewStyle:{
        flexDirection: 'row'
    },
    iconViewStyle:{
        width:ScreenUtils.scaleSize(101),
        height:GlobalSize.ScaleSize98,
        alignItems:'center',
        justifyContent:'center',
        backgroundColor:GlobalColor.BgRGBA,
        borderRadius:GlobalSize.ScaleSize10,
        marginLeft:GlobalSize.ScaleSize50
    },
    inputViewStyle:{
        width:ScreenUtils.scaleSize(535),
        height:GlobalSize.ScaleSize98,
        backgroundColor:GlobalColor.BgRGBA,
        borderRadius:GlobalSize.ScaleSize10,
        marginLeft:ScreenUtils.scaleSize(14),
        justifyContent:'center',
    },




    // 弹框
    alertViewStyle:{
        width:ScreenUtils.scaleSize(550),
        height:ScreenUtils.scaleSize(72),
        flexDirection:"row",
        alignItems:'center',
        marginTop:GlobalSize.ScaleSize10,
        justifyContent:"space-between"
    },
    alertItemStyle:{
        width:ScreenUtils.scaleSize(300),
        height:ScreenUtils.scaleSize(72),
        alignItems:'center',
        justifyContent:'center',
        backgroundColor:'#222222',
        borderRadius:GlobalSize.ScaleSize10,
        marginLeft:ScreenUtils.scaleSize(125),
        marginRight:ScreenUtils.scaleSize(125),
    },
    textStyle:{
        fontSize:ScreenUtils.setSpText(36),
        fontFamily:'PingFangSC-Light',
        color:GlobalColor.e7e7e7
    },
    alertTitle:{
        marginTop:GlobalSize.ScaleSize10,
        color:GlobalColor["333333"],
        fontSize:GlobalSize.SetSpText30,
        fontFamily:GlobalSize.FontFamilyMedium
    },

}
